﻿@model MiniBottles.Models.LocalPasswordModel
@{
    ViewBag.Title = "Manage Account";
}
<h5 class="title">@ViewBag.Title</h5>
<div class="greystrip"></div>
<div class="whitestrip"></div>

<div class="image-content"></div>
<div class="white-content">
    <p class="message-success">@ViewBag.StatusMessage</p>

    <p>You're logged in as <strong>@User.Identity.Name</strong>.</p>

    @if (ViewBag.HasLocalPassword)
    {
        @Html.Partial("_ChangePasswordPartial")
    }
    else
    { 
        @Html.Partial("_SetPasswordPartial")
    }
</div>


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
